package com.three.storemanage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.Station;
import com.three.storemanage.vo.StationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 86156
* @description 针对表【tb_station(工位表)】的数据库操作Mapper
* @createDate 2025-03-11 14:20:35
* @Entity com.aaa.entity.Station
*/
@Mapper
public interface StationMapper extends BaseMapper<Station> {

    int deleteByPrimaryKey(Long id);

    int insert(Station record);

    int insertSelective(Station record);

    Station selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Station record);

    int updateByPrimaryKey(Station record);

    Page<StationVo> findStationByCondition(Page<StationVo> page, @Param("storeName") String storeName, @Param("userId") Integer userId);

    List<Station> selectByStoreId(Integer storeId);

    int updateStationByStationId(Integer station);

    int updateStationByStationId2(Integer station);
}
